package top.ligongzi.hrm.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

@FeignClient(value = "sysmanage-service",fallbackFactory = SysmanageServiceClientFallBackFactory.class )
public interface SysmanageServiceClient {

    @GetMapping("/sysService/empAndTenant/{loginUserId}")
    Map<String,Object> getEmpAndTenant(@PathVariable("loginUserId") Long loginUserId);
}
